<template>
	<view class="empty-wrap" data-type="空">
		<view class="empty-pic-box flex-center">
			<image :src="getAssets(`@/static/static-online/empty/empty.png`)" mode=""></image>
		</view>
		<view class="empty-text">
			<view class="text">
				{{emptyText}}
			</view>
		<!-- 	<view class="text">
				请到店购买消费
			</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			emptyText: {
				type: [String],
				default: '亲，没有查询到相关信息~'
			}
		},
		data() {
			return {}
		},

		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.empty-wrap {
		margin-top: 30rpx;

		.empty-pic-box {
			image {
				width: 345rpx;
				height: 345rpx;
			}
		}

		.empty-text {
			margin-top: 20rpx;

			.text {
				text-align: center;
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 30rpx;
				font-size: 26rpx;
				color: #7D7D7D;
				line-height: 48rpx;
			}
		}
	}
</style>